﻿using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities.Entities
{
    /// <summary>
    /// 分类
    /// </summary>
    public class Category:BaseEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { set; get; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { set; get; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { set; get; }
        /// <summary>
        /// 权重
        /// </summary>
        public int Weight { set; get; }
        /// <summary>
        /// 父级
        /// </summary>
        public ObjectId Parent { set; get; }
        /// <summary>
        /// 启用
        /// </summary>
        public bool Enable { set; get; }
    }
}
